/************************************************************************/
/*	Perlin Production Co. Ltd. July 2012				*/
/*	GAS, bi-directional Alpha Sprite image Generator, v.2.1		*/
/************************************************************************/

#define	FD_ABM	0
#define	FD_IBM	1
#define FD_DST	2
#define	FD_NUM	3

#define	MAXPHS	8	/* maximum number of shifted image phases */
#define	DEFPHS	8	/* default number of shifted image phases */
#define	MAXSD	4	/* maximum number of VRAM planes */
#define DEFSD	2	/* default number of VRAM planes */
#define	MAXSW	8	/* maximum width of sprite in bytes */
#define MAXSH	0x80	/* maximum height of sprite in bytes */
#define	DEFINV	1	/* default transparency channel location in alpha */

/* Sprite formats. Taken from GML/HdrSpt.inc */
#define SF_ANY	0	/* Any format */
#define	SF_PBP	1	/* Plane-by-plane */
#define	SF_PTP	2	/* Pixel-through-planes*/
#define	SF_BTP	3	/* Byte-through-planes */
#define	SF_WBC	4	/* Bi-directional word columns */
#define	SF_ABC	5	/* Bi-directional plane-by-plane alpha-sprite */

#define	SF_DEF	SF_PBP	
#define SF_MAX	5

#define	PI_WDT	1	/* index of width parameter */
#define	PI_HGT	2	/* index of height parameter */
#define	PS_ABM	3	/* index of alpha bitmap file parmeter */
#define	PS_IBM	4	/* index of image bitmap file parameter */
#define	PS_DST	5	/* index of destination file parameter */
#define	NPARAM	6	/* number of required parameters */

struct	intparm
{
	char	ip_key;
	int	ip_rep; /* 0 to avoid multiple value redefinitions */
	int	ip_min;
	int	ip_val;	 /* defaul value originally */
	int	ip_max;
	char	*ip_name;
};
#define INTPARM struct intparm
